package com.bosicloud.cmb.ibp.aws.adapter.commom.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * @author Jack Peng / ziliang.peng@bosicloud.com
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class CreateApiParamDTO {

    @NotNull
    @NotBlank(message = "ApiID 不能为空")
    String apiId;

    @NotNull
    @NotBlank(message = "Json Url 不能为空")
    String jsonUrl;

    Boolean failOnWarnings = false;
}
